import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: () => import('../views/Home.vue')
  },
  {
    path: '/about',
    name: 'about',
    component: () => import('../views/About.vue')
  },
  {
    path: '/Register',
    name: 'Register',
    component: () => import('../views/Register.vue')
  },
  {
    path: '/Download',
    name: 'Download',
    component: () => import('../views/Download.vue')
  },
  {
    path: '/live',
    name: 'live',
    component: () => import('../views/Live.vue')
  },
  {
    path: '/WW',
    name: 'WW',
    component: () => import('../views/WW.vue')
  }
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
